﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CloudClip.Clip;
using System.Windows.Forms;

namespace CloudClip.HelperMehtod
{
    public static class ClipboardHelper
    {
        public static IClipUnit ToTextClipUnit(this IDataObject iDataObject)
        {
            return new TextClipUnit(iDataObject.GetData(DataFormats.Text).ToString());
        }
    }
}
